Post

Replies

Boosts

Views

Activity

kAudioHardwarePropertyDevices does not list AirPlay sound output device
The device listing core-audio API kAudioHardwarePropertyDevices does not list Airplay device if virtual-audio-driver is selected as sound output device in System settings. This virtual audio driver is developed by us and is named as BoomAudio. We need to select BoomAudio in System Settings Sound output so that we can get system audio and apply Boom effects/enhancement. But whenever BoomAudio is selected as sound output, we cannot get Airplay device in device-list API and hence cannot play-through to AirPlay sound output device. Steps: Select BoomAudio as Sound output in System Settings. (The issue occurs if any other sound output device like Headphone/Internal Speakers is selected) If AppleTV is connected then we should not AirPlay the system-display. Only Sound output of System should be Airplayed. Build and run the sample project that we have attached “SampleAirplayAudio Click on the button “Sound Output Device List”. Output: In the console of Xcode, Airplay device does not get listed. BoomAudio can be installed from the following path: https://d3jbf8nvvpx3fh.cloudfront.net/gdassets/airplaydts/Boom+2+Installer.zip The sample project 'SampleAirplayAudio' is available at this path: https://d3jbf8nvvpx3fh.cloudfront.net/gdassets/airplaydts/SampleAirplayAudio.zip We have already raised Bug report at Feedback Assistant Apple and the bug id is: FB7543204
0
0
553
Apr ’24
Microphone mode
Is there any API to check which microphone mode is active for my macOS application? There is API to check microphone mode for AVCaptureDevice. But the status bar allows to select Microphone mode for an application that reads Microphone Audio (not for Microphone itself).
1
1
432
Nov ’23
Can 64-bit apps run on 32-bit system.
My macOS application is built for 64-bit and arm64. Does this run on 32-bit machine. I am asking this because: macOS was 64-bit even when it was supporting 32-bit apps to run on it (<= 10.14). So, does it convert 64-bit instructions to 32-bit and thus can a user run 64-bit app on his 32-bit machine? (It might be slower though). Thank you. Deepa
2
0
901
Apr ’23
Menu Bar applications and AppStore Connect sessions metrics
We have macOS application which is menu-bar only. The metrics that was introduced in 2021 AppStoreConnect does not seem to track sessions of menu-bar applications. Also, I found this article that mentions the same: https://fleetingpixels.com/blog/2021/6/12/app-analytics-usage-data-for-mac-menu-bar-applications My queries: Some sessions are recorded for same menu-bar application say 12, 1 etc. I am not sure how this could happen. Could anyone please let me know what might be the reason for this. Does AppStore Connect has any plans to support sessions metrics for MenuBar applications as well?
0
0
965
Sep ’22
AVCaptureDeviceInput and AVCaptureAudioDataOutput with different Channels in Stream Description
I am creating AVCaptureDeviceInput using an audio driver (user land driver) which has 6 channels (5.1 channels). The audio driver captures system's audio. I am creating AVCaptureAudioDataOutput using stream description of 2 channels. Now I add AVCaptureDeviceInput and AVCaptureAudioDataOutput to AVCaptureSession and write sample buffers of AVCaptureAudioDataOutput to a file. I play a 5.1 file in my system and my above sample app writes it to a file. The recorded audio will have 2 channels as per steam description. the recorded file will have all 5.1 channels recorded in a stereo file (Eg: Left Front and Rear in Left; Right Front & Rear in Right). My query is: Who handles the mixing here? Thank you.
1
0
679
May ’22
wrong build number shown in AppStore connect
My previous release version CFBundleVersion is 301.3.12010. CFBundleShortVersionString is 1.3.12. Now I need to provide an update and the CFBundleVersionis is 301.3.13061 AND CFBundleShortVersionString is 1.3.13. If I upload the build using Xcode organiser, it successfully uploads and validates. But the Build number shown is 1.3.13(302). Earlier it was showing 1.3.12 (301.3.12010). I checked my info.plist, nowhere I have defined 302. I don't know why AppStoreConnect still shows 302. Could someone help to solve this issue. Thank you. Deepa
2
0
1.2k
Dec ’21
"app" is damaged and can't be opened
Hi, My mac application update is under development. For testing purpose, I have code signed my application using "Apple Development". But, the team is not able to launch the application. They get the error: "***" is damaged and can't be opened. Delete "***" and download it again from the AppStore. I am archiving the application using XCode13 in Monterey 11.01. I remember it was working few days back. The certificate is valid and it is going to expire on Dec 17th. Since, I am using Push Notification service, I have used provisioning profile including this certificate and the team's system also has been added. Could someone help me out. Thank you.
13
0
6.2k
Nov ’21
TCC Namespace crash
Hello, I have Mac application which accesses Sound Input. Hardened run time ha been enabled for this app with Audio Input turned ON, sandbox is disabled. info.plist has entry "Privacy - Microphone Usage Description" with the proper description. But, few of our users started reporting that they are getting following crash in Catalina. My app has been built using XCode12.5 in BigSur. Crash: Dispatch queue: com.apple.root.default-qos Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace TCC, Code 0x0  I have asked them to try resetting Microphone permission using tccutl. But, they are still facing this crash. How do I trace out why it is crashing and why it has been crashing for few users say 5-6. Thank you. Regards, Deepa
6
0
1.7k
Oct ’21
HiRes Lossless Apple Music
Hello, We develop music based application and most of our users are US based. We are getting enquiry by these users about issues/support related to HiRes Lossless Apple Music in our application. But, we are not able to verify as HiRes Lossless Apple Music is not available to Indian account at present. Is there any way the developers can enable HiRes lossless music so that we can verify and solve the issues. We might not be able to wait until HiRes lossless Apple music is released to Indian Store. Thank you. Regards, Deepa
0
0
853
Jul ’21
macOS IPC between two Applications and Security
Hi, I have a macOS application say Main.app which uses Helper App say Helper.app with UI support. Helper.app is placed inside Main.app/Contents/Library/LoginItems/Helper.app. Helper.app is launched using NSWorkSpace and when user opts to launch Helper.app on login, SMLoginItemSetEnabled is turned ON for Helper.app. Main.app and Helper.app communicate with each other via NSConnection.  Helper app supports set of features based on some Condition and same condition is used to validate a feature in Main.app. Hence, Main.app talks to Helper.app to check if a feature can be validated. 1) Can someone write their version of Helper.app with same bundle identifier as my Helper.app and expose a connection with same name (when my Main.app and Helper.app is not running). 2) Now when Main.app is launched, it get connected to 3rd party Helper.app. There are two versions of Main.app Main.app and Helper.app both are sandboxed and Belong to same group. Main.app and Helper.app both are not sandboxed (But, hardened run time is enabled). Groups are not defined. Thank you. Regards, Deepa
6
0
4.2k
May ’21
OSACOMPILE_EXECUTE_ONLY does not make script execute only
I have an Apple Script added to my project and copying it to bundle resources. I have set OSACOMPILEEXECUTEONLY to yes under Build Settings. I compile my project, open the Application bundle and reach to myAppleScript.scpt under Resources folder. I am able to open myAppleScript.scpt in Script Editor and view its source. As per documentation OSACOMPILEEXECUTEONLY should make it executable and cannot view the original source in Script Editor.
8
0
1.9k
Jan ’21